package org.base.oj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.base.oj.common.BusinessException;
import org.base.oj.common.ParamsPage;
import org.base.oj.domain.Question;
import org.base.oj.domain.dto.QuestionDTO;

public interface QuestionService extends IService<Question> {
    void saveQuestionAndOptions(QuestionDTO questionDTO) throws BusinessException;
    Page<Question> getQuestionPage(ParamsPage page);
    void test();
}
